package com.wlb365.financing.modules.credit.response;

import com.wlb365.sdk.model.BaseResponse;
import lombok.Data;

import java.math.BigDecimal;
import java.text.DecimalFormat;
import java.util.List;

/**
 * 分页查询授信申请（审核）列表返回值 <fs.credit.audit-page>
 * @Author LuHang
 * @Date 2021/4/21 10:09
 * @Version 1.0
 */
@Data
public class CreditDataVo extends BaseResponse {
    private List<Records> records;
    private Long total;

    @Data
    class Records{
        private String appId;
        private BigDecimal applyAmount;
        private String compId;
        private String id;
        private String status;
        private String compName;
        private String bankName;
        private String bankId;
        private String comCerNo;
        private String createDate;
        private boolean tradeflag;
        /**
         * 授信额度.
         */
        private BigDecimal amount;

        /**
         * 已使用额度.
         */
        private BigDecimal useAmount;

        /**
         * 剩余额度.
         */
        private BigDecimal afterAmount;


    }
}
